import { Opcode } from "../../../../defines/opcode.define";
import proto from "../../../../protoc/ts/proto.js";
import { BaseMessage } from "../../message";

export class S2C_MessageKick extends BaseMessage{
    constructor() {
        super(Opcode.Opcode_SC_KICK);
    }

    Decode(data: Uint8Array): void {
        if (!data) {
            return;
        }
        this.messageEntity = proto.s2c_kick.decode(data);
    }
    
}